package malus.shaofeng.com.beiwomusic.model;

import org.json.JSONObject;

/**
 * Created by aaa on 15-3-12.
 */
public class TextContent extends Content {
    private String type;
    private String value;

    public void parseJSON(JSONObject json){
        if (json!=null){
            type=json.optString("type");
            value=json.optString("value");
        }
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
